package com.tech.factory;

import com.tech.UserDao;
import com.tech.impl.UserDaoImpl;

/**
 * 动态工厂获取实例
 */
public class DynamicFactory {
    public  UserDao getUserDao() {
        return new UserDaoImpl();
    }
}
